//开始按钮类
import Sprite from '../base/Sprite.js'
import DataStore from '../base/DataStore.js'

export default class extends Sprite {
  constructor() {
    const img = Sprite.getImage('startButton')
    super(img,
      0,0,
      img.width, img.height,
      (DataStore.getInstance().canvas.width-img.width)/2,(DataStore.getInstance().canvas.height-img.height)/2,
      img.width,img.height
      )
  }

}
